package servletController;


public class RequestData {
	protected String hobby;
	protected String aversion;
	
	public RequestData(){
		
	}
	
	public String getHobby(){
		if(isHobbyValid()){
		return hobby;	
		}
		return "No Hobby";
	}
	public String getAversion(){
		return aversion;	
	}
	public void setHobby(String newHobby){
		this.hobby = newHobby;
	}
	public void setAversion(String newAversion){
		this.aversion = newAversion;
	}
	public boolean isHobbyValid(){
		return hobby != null && !hobby.trim().equals("");
	}
}
